package com.cw2.structural.bridge;

/**
 * 桥接模式
 */
public class MainTest {
    public static void main(String[] args) {
        IPhone iPhone = new IPhone();
        iPhone.setSale(new StudentSale("类型",1));
        String phone = iPhone.getPhone();
        System.out.println(phone);
    }
}
